package com.atqh.srrt.chicken.mapper.blogMapper;


import com.atqh.srrt.chicken.domain.blog.Tag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface TagMapper extends BaseMapper<Tag> {
    List<Tag> findTagsByArticleId(Long articleId);

    List<Long> findHotsTagId(int limit);

    List<Tag> findTagsByTagIds(List<Long> tagids);
}
